home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / utils / csd6.exe / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-01-17  |  5KB  |  120 lines

  1. @echo off
  2. if %1] == ] goto :synerr
  3. echo.
  4. echo ******* IMPORTANT !!! *******
  5. echo Installing this patch will obsolete and delete all of your Volume files.
  6. echo Any volumes you wish to keep track of will have to be added using the
  7. echo "Add Volume" function in the Volume utility.
  8. echo.
  9. echo If you don't want to continue and delete your volume files,
  10. echo press [CONTROL-BREAK] now, otherwise
  11. pause
  12. echo.
  13. if not exist %1\syfiles\sylib\*.ldb goto next1
  14.    del %1\syfiles\sylib\*.ldb
  15. :next1
  16. if not exist %1\syfiles\sylib\*.sdb goto next2
  17.    del %1\syfiles\sylib\*.sdb
  18. :next2
  19. if not exist %1\syfiles\sylib\*.ddb goto next3
  20.    del %1\syfiles\sylib\*.ddb
  21. :next3
  22. if not exist %1\syfiles\sylib\*.fdb goto next4
  23.    del %1\syfiles\sylib\*.fdb
  24. :next4
  25. if not exist %1\syfiles\sylib\*.pdb goto next5
  26.    del %1\syfiles\sylib\*.pdb
  27. :next5
  28. echo Installing patch for Sytos Plus version 1.41, 1.42 or 1.42A to 1.42-02.
  29. echo Please wait...
  30. patch /NOMESSAGES %1 csd03
  31. if errorlevel 37 goto :generr
  32. if errorlevel 36 goto :nopat
  33. if errorlevel 1 goto :generr
  34. if errorlevel 0 goto :cleanup
  35. :generr
  36. echo.
  37. echo The patch was NOT installed because an error occurred during the attempt!
  38. echo.
  39. goto :errx
  40. :synerr
  41. echo.
  42. echo USAGE:  install [path where Sytos Plus is installed]
  43. echo.
  44. goto :errx
  45. :nopat
  46. echo.
  47. echo The patch was NOT installed because the version of SYPLUS.EXE
  48. echo is not the correct one to apply this patch, or one of the files
  49. echo in the SYPLUS directory structure is corrupted.
  50. echo.
  51. goto :errx
  52. :cleanup
  53. echo.
  54. echo. >> readme.csd
  55. echo Patch successful! >> readme.csd
  56. echo. >> readme.csd
  57. echo Created SYTOS PLUS for DOS Version 1.42-02, January 12, 1994. >> readme.csd
  58. echo. >> readme.csd
  59. echo Upon first running the new Sytos Plus, go into the Preferences utility >> readme.csd
  60. echo and check the settings.  When they are correct, press F2 to create a new >> readme.csd
  61. echo configuration file for Sytos Plus. >> readme.csd
  62. echo. >> readme.csd
  63. echo You will also have to enter "Backup Device Setup" for each of your drivers >> readme.csd
  64. echo and reselect the Logical Format setting.  This is because the Logical >> readme.csd
  65. echo Format files have been updated. >> readme.csd
  66. echo. >> readme.csd
  67. echo Patch successful!
  68. echo.
  69. echo Created SYTOS PLUS for DOS Version 1.42-02, January 12, 1994.
  70. echo.
  71. echo Upon first running the new Sytos Plus, go into the Preferences utility
  72. echo and check the settings.  When they are correct, press F2 to create a new
  73. echo configuration file for Sytos Plus.
  74. echo.
  75. echo You will also have to enter "Backup Device Setup" for each of your drivers
  76. echo and reselect the Logical Format setting.  This is because the Logical
  77. echo Format files have been updated.
  78. echo.
  79. pause
  80. echo Major New Features from version 1.42A to 1.42-02:  >> readme.csd
  81. echo. >> readme.csd
  82. echo VOLUME UTILITY UPDATE USING QFA >> readme.csd
  83. echo Sytos Plus now uses the QFA track on the tape to add a volume if one >> readme.csd
  84. echo exists.  This greatly reduces the time required to add a volume. >> readme.csd
  85. echo. >> readme.csd
  86. echo.SYTOS LOGICAL FORMAT IS NOW READ-ONLY! You cannot write Sytos LF. >> readme.csd
  87. echo. >> readme.csd
  88. echo MAJOR BUG FIXES >> readme.csd
  89. echo Sytos Plus will now run the default procedure correctly when you enter >> readme.csd
  90. echo the quickstart windows, escape back to the first window, and run >> readme.csd
  91. echo the default procedure.  Previously, the default procedure would run >> readme.csd
  92. echo as the type of quickstart window you entered. >> readme.csd
  93. echo. >> readme.csd
  94. echo Move+Append operations to multiple media backups will now delete the >> readme.csd
  95. echo correct files. >> readme.csd
  96. echo. >> readme.csd
  97. echo Backup/Restore Operations larger than 4.2Gb are now supported. >> readme.csd
  98. echo. >> readme.csd
  99. echo.
  100. echo Major New Features from version 1.42A to 1.42-02: 
  101. echo.
  102. echo VOLUME UTILITY UPDATE USING QFA
  103. echo Sytos Plus now uses the QFA track on the tape to add a volume if one
  104. echo exists.  This greatly reduces the time required to add a volume.
  105. echo.
  106. echo.SYTOS LOGICAL FORMAT IS NOW READ-ONLY! You cannot write Sytos LF.
  107. echo.
  108. echo MAJOR BUG FIXES
  109. echo Sytos Plus will now run the default procedure correctly when you enter
  110. echo the quickstart windows, escape back to the first window, and run
  111. echo the default procedure.  Previously, the default procedure would run
  112. echo as the type of quickstart window you entered.
  113. echo.
  114. echo Move+Append operations to multiple media backups will now delete the
  115. echo correct files.
  116. echo.
  117. echo Backup/Restore Operations larger than 4.2Gb are now supported.
  118. echo.
  119. :errx
  120.